package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2025-06-05
 * Time: 17:48
 */
@Mapper
public interface UserMapper {

    @Select("select * from user_info where user_name=#{name} and delete_flag = 0")
    UserInfo queryInfoByName(String name);
}
